/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package poultry;

import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

/**
 *
 * @author Windows7
 */
public class duck extends poultry {
    
    
    public duck(int x, int y) throws IOException
    {
        super(x,y); 
        this.poultryImages = "images/vit.png";
        image = ImageIO.read(new File(poultryImages)); 
        this.w = image.getWidth(null);
        this.h = image.getHeight(null);
    }
}
